package com.lzc.blog.admin.service;

import com.lzc.blog.admin.model.params.PageParam;
import com.lzc.blog.admin.pojo.Permission;
import com.lzc.blog.admin.vo.Result;

import java.util.List;

public interface PermissionService {
    Result listPermission(PageParam pageParam);

    Result add(Permission permission);

    Result update(Permission permission);

    Result delete(Long id);

    List<Permission> findPermissionByAdminId(Long id);
}
